package top.yaofengqiao.springcloudsimple.auth.biz.domain.user.repository;

import top.yaofengqiao.springcloudsimple.auth.biz.domain.user.model.entity.UserEntity;

/**
 * @author yfq
 * @date 2024/6/1 15:04
 * @description
 */
public interface IUserRepository {
    /**
     * 根据username查询
     *
     * @param username ...
     * @return ...
     */
    UserEntity queryByUsername(String username);

    UserEntity queryById(long userId);
}
